package com.leps.nq.op.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 水样检测记录表
 * </p>
 *
 * @author hex
 * @since 2022-05-22
 */
@Getter
@Setter
@ToString
@TableName("op_water_test")
@ApiModel(value = "OpWaterTest对象", description = "水样检测记录表")
public class OpWaterTest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("水样检测记录ID")
    @TableId(value = "water_test_id", type = IdType.AUTO)
    private Long waterTestId;

    @ApiModelProperty("归属客户ID")
    private Integer custId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属客户名称")
    @ExcelProperty(index = 1)
    private String custName;

    @ApiModelProperty("归属区块ID")
    private Integer areaId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属区块名称")
    @ExcelProperty(index = 2)
    private String areaName;

    @ApiModelProperty("取样场站(平台)ID")
    private Integer stationId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("取样场站(平台)名称")
    @ExcelProperty(index = 3)
    private String stationName;

    @ApiModelProperty("取样井号")
    @ExcelProperty(index = 4)
    private String sampleWell;

    @ApiModelProperty("取样位置")
    @ExcelProperty(index = 5)
    private String samplePosition;

    @ApiModelProperty("取样日期")
    @ExcelProperty(index = 6)
    private Date sampleTime;

    @ApiModelProperty("检测日期")
    @ExcelProperty(index = 7)
    private Date testTime;

    @ApiModelProperty("实验员")
    @ExcelProperty(index = 8)
    private String testBy;

    @ApiModelProperty("SRB(个/xml)")
    @ExcelProperty(index = 9)
    private String srb;

    @ApiModelProperty("TGB(个/xml)")
    @ExcelProperty(index = 10)
    private String tgb;

    @ApiModelProperty("FB(个/xml)")
    @ExcelProperty(index = 11)
    private String fb;

    @ApiModelProperty("总铁(ppm)")
    @ExcelProperty(index = 12)
    private String iron;

    @ApiModelProperty("菌落(CFU)")
    @ExcelProperty(index = 13)
    private String colony;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
